import request from '@/utils/request'
import Vue from 'vue'

// 获取供应商列表
export const querySupplierProcurementList = data => {
    return request({
        url: Vue.prototype.$api.supplierProcurement.index,
        method: 'post',
        data,
    })
}
export const exportquerySupplierProcurement = data => {
    return request({
        url: Vue.prototype.$api.supplierProcurement.export,
        method: 'post',
        data,
        responseType: 'blob',
    })
}
export const querySupplierProcurementInfo = data => {
    return request({
        url: Vue.prototype.$api.supplierProcurement.info,
        method: 'post',
        data,
    })
}
export const changeSupplierProcurementStatus = data => {
    return request({
        url: Vue.prototype.$api.supplierProcurement.changeStatus,
        method: 'post',
        data,
    })
}
export const resertSupplierProcurementStatus = data => {
    return request({
        url: Vue.prototype.$api.supplierProcurement.resertStatus,
        method: 'post',
        data,
    })
}
export const shopAddRemark = data => {
    return request({
        url: Vue.prototype.$api.supplierProcurement.shopAddRemark,
        method: 'post',
        data,
    })
}